package cn.edu.hunau.dao;


import cn.edu.hunau.exception.DaoException;
import cn.edu.hunau.pojo.OrderItem;

import java.util.List;

/**
 * @Author 苏佳
 * @Date 2022 11 13 21 40
 **/
public interface OrderItemDao {
    public void insert(List<OrderItem> orderItems)throws DaoException;

    public List<OrderItem> queryByOid(String oid)throws DaoException;

    void deleteOrderItemBy(String oid)throws DaoException;
}
